package ui.data 
{
	import flash.geom.Point;
	/**
	 * ...
	 * @author Surui
	 */
	public class MapInfo
	{
		/** 方块半宽 */
		private var m_unitWidht:Number;
		/** 方块半高 */
		private var m_unitHeight:Number;
		/** X轴向量 */
		private var m_xAxes:Point;
		/** Y轴向量 */
		private var m_yAxes:Point;
		/** 地图X轴格子数 */
		private var m_xBoxNum:int;
		/** 地图Y轴格子数 */
		private var m_yBoxNum:int;
		
		private static var m_self:MapInfo;
		
		public function MapInfo() 
		{
			
		}
		public static function get self():MapInfo {
			m_self = m_self ? m_self : new MapInfo();
			return m_self;
		}
		
		public function get unitWidht():Number 
		{
			return m_unitWidht;
		}
		
		public function set unitWidht(value:Number):void 
		{
			m_unitWidht = value;
		}
		
		public function get unitHeight():Number 
		{
			return m_unitHeight;
		}
		
		public function set unitHeight(value:Number):void 
		{
			m_unitHeight = value;
		}
		
		public function get xAxes():Point 
		{
			return m_xAxes;
		}
		
		public function set xAxes(value:Point):void 
		{
			m_xAxes = value;
		}
		
		public function get yAxes():Point 
		{
			return m_yAxes;
		}
		
		public function set yAxes(value:Point):void 
		{
			m_yAxes = value;
		}
		
		public function get xBoxNum():int 
		{
			return m_xBoxNum;
		}
		
		public function set xBoxNum(value:int):void 
		{
			m_xBoxNum = value;
		}
		
		public function get yBoxNum():int 
		{
			return m_yBoxNum;
		}
		
		public function set yBoxNum(value:int):void 
		{
			m_yBoxNum = value;
		}
		
	}

}